﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Internal/Operations/OpMaster.master"
    Theme="Internal" AutoEventWireup="true" CodeBehind="ManManagement.aspx.cs" Inherits="Landscape.WebApp.Internal.Operations.ManManagement" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <telerik:RadToolBar ID="rtbModuleActions" runat="server" Width="100%" EnableShadows="True"
        OnClientButtonClicked="rtbModuleActions_OnClientButtonClicked">
        <Items>
            <telerik:RadToolBarButton runat="server" CommandName="LIST" ImageUrl="~/Images/Search.png"
                Text="Search" CheckOnClick="True" ImagePosition="AboveText">
            </telerik:RadToolBarButton>
            <telerik:RadToolBarButton runat="server" CommandName="DELETE" ImageUrl="~/Images/Delete_32x32.png"
                Text="Delete" CheckOnClick="True" ImagePosition="AboveText">
            </telerik:RadToolBarButton>
        </Items>
    </telerik:RadToolBar>
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1"
        SelectedIndex="0">
        <Tabs>
            <telerik:RadTab runat="server" Text="Jobs" PageViewID="Jobs">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="Maintenance Jobs History" PageViewID="MainHist">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="Running Hours" PageViewID="RunningHours">
            </telerik:RadTab>
        </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0">
        <telerik:RadPageView ID="Jobs" runat="server" Selected="true">
            <div class="ContentTabBody">
                <table>
                    <tr>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text="Equipment Name :"></asp:Label>
                        </td>
                        <td>
                            <telerik:RadTextBox ID="rcbEquipName" runat="server">
                            </telerik:RadTextBox>
                        </td>
                        <td>
                            <asp:ImageButton ID="imgBtnSearchSystems" runat="server" />
                        </td>
                        <td>
                            <asp:CheckBox ID="cbIgnoreSelection" runat="server" Text="All Systems" />
                            <asp:CheckBox ID="cbShowUpcomming" runat="server" Text="Show Only Upcomming" Checked="true" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4" style="height: 30px">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">
                            <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                CellSpacing="0" GridLines="None">
                                <ClientSettings>
                                    <Selecting AllowRowSelect="True" />
                                </ClientSettings>
                                <MasterTableView>
                                    <CommandItemSettings ExportToPdfText="Export to PDF" />
                                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                                        <HeaderStyle Width="20px" />
                                    </RowIndicatorColumn>
                                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                                        <HeaderStyle Width="20px" />
                                    </ExpandCollapseColumn>
                                    <Columns>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column column" HeaderText="Title"
                                            UniqueName="column">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column1 column" HeaderText="Description"
                                            UniqueName="column1">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column2 column" HeaderText="Equipment"
                                            UniqueName="column2">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column3 column" HeaderText="Periodicity"
                                            UniqueName="column3">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column4 column" HeaderText="Running Hours"
                                            UniqueName="column4">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column5 column" HeaderText="Last Occurence Date"
                                            UniqueName="column5">
                                        </telerik:GridBoundColumn>
                                    </Columns>
                                    <EditFormSettings>
                                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                        </EditColumn>
                                    </EditFormSettings>
                                </MasterTableView>
                                <FilterMenu EnableImageSprites="False">
                                </FilterMenu>
                            </telerik:RadGrid>
                        </td>
                    </tr>
                </table>
            </div>
        </telerik:RadPageView>
        <telerik:RadPageView ID="MainHist" runat="server">
            <div class="ContentTabBody">
                <table>
                    <tr>
                        <td>
                            <table>
                                <tr>
                                    <td>
                                        <asp:Label ID="Label2" runat="server" Text="From Date :"></asp:Label>
                                    </td>
                                    <td>
                                        <telerik:RadDatePicker ID="RadDatePicker1" runat="server">
                                        </telerik:RadDatePicker>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label3" runat="server" Text="Till Date :"></asp:Label>
                                    </td>
                                    <td>
                                        <telerik:RadDatePicker ID="RadDatePicker2" runat="server">
                                        </telerik:RadDatePicker>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label4" runat="server" Text="Job Type :"></asp:Label>
                                    </td>
                                    <td>
                                        <telerik:RadComboBox ID="RadComboBox1" runat="server">
                                            <Items>
                                                <telerik:RadComboBoxItem runat="server" Text="-Select-" Value="0" />
                                                <telerik:RadComboBoxItem runat="server" Text="Planned" Value="1" />
                                                <telerik:RadComboBoxItem runat="server" Text="Break Down" Value="2" />
                                                <telerik:RadComboBoxItem runat="server" Text="Corrective" Value="3" />
                                            </Items>
                                        </telerik:RadComboBox>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <telerik:RadGrid ID="RadGrid2" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                CellSpacing="0" GridLines="None">
                                <ClientSettings>
                                    <Selecting AllowRowSelect="True" />
                                </ClientSettings>
                                <MasterTableView>
                                    <CommandItemSettings ExportToPdfText="Export to PDF" />
                                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                                        <HeaderStyle Width="20px" />
                                    </RowIndicatorColumn>
                                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                                        <HeaderStyle Width="20px" />
                                    </ExpandCollapseColumn>
                                    <Columns>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column column" HeaderText="Equipment Name"
                                            UniqueName="column">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column1 column" HeaderText="Job Title"
                                            UniqueName="column1">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column2 column" HeaderText="Job Type"
                                            UniqueName="column2">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column3 column" HeaderText="Date Executed"
                                            UniqueName="column3">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridBoundColumn FilterControlAltText="Filter column4 column" HeaderText="Running Hours"
                                            UniqueName="column4">
                                        </telerik:GridBoundColumn>
                                        <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn column" HeaderText="Actions"
                                            UniqueName="TemplateColumn">
                                        </telerik:GridTemplateColumn>
                                    </Columns>
                                    <EditFormSettings>
                                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                        </EditColumn>
                                    </EditFormSettings>
                                </MasterTableView>
                                <FilterMenu EnableImageSprites="False">
                                </FilterMenu>
                            </telerik:RadGrid>
                        </td>
                    </tr>
                </table>
            </div>
        </telerik:RadPageView>
        <telerik:RadPageView ID="RunningHours" runat="server">
            <div class="ContentTabBody">
                <telerik:RadGrid ID="RadGrid3" runat="server" AutoGenerateColumns="False" CellSpacing="0"
                    GridLines="None">
                    <MasterTableView>
                        <CommandItemSettings ExportToPdfText="Export to PDF" />
                        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                            <HeaderStyle Width="20px" />
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                            <HeaderStyle Width="20px" />
                        </ExpandCollapseColumn>
                        <Columns>
                            <telerik:GridBoundColumn FilterControlAltText="Filter column column" HeaderText="Equipment Name"
                                UniqueName="column">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn FilterControlAltText="Filter column1 column" HeaderText="Running Hours"
                                UniqueName="column1">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn FilterControlAltText="Filter column2 column" HeaderText="Data Taken"
                                UniqueName="column2">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn FilterControlAltText="Filter column3 column" HeaderText="Taken By"
                                UniqueName="column3">
                            </telerik:GridBoundColumn>
                        </Columns>
                        <EditFormSettings>
                            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                            </EditColumn>
                        </EditFormSettings>
                    </MasterTableView>
                    <FilterMenu EnableImageSprites="False">
                    </FilterMenu>
                </telerik:RadGrid>
            </div>
        </telerik:RadPageView>
    </telerik:RadMultiPage>
    <script type="text/javascript">

        function rtbModuleActions_OnClientButtonClicked(sender, args) {

        }

        function OP_OnSystemSelect(sysCode) {
            // alert(sysCode);
        }

        function OP_OnVesselSelect(vslCode) {
            //  alert(vslCode);
        }

    </script>
</asp:Content>
